<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style type="text/css">
    form{
    	background: url(img/1.jpg) 0 0 no-repeat;
    }
    </style>
    <script type="text/javascript">
     
     if(self!=top){
    	 top.location=self.location;
     }
    </script>
</head>
<body>
  <h1>管理员登录</h1>
  <p style="color:red">
  ${msg}

<form method="post" action="login.do">
    <input type="text" name="username" placeholder="用户名" required/>
    <input type="password" name="pass" placeholder="密码" required pattern="\w{3,20}"/>
  	<input type="checkbox" value="on" name="keeppassincookie"/>保留用户名密码
    <input type="submit" value="登录"/>
</form>
<img src="img/1.jpg"/>
</body>
</html>
